home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
184_01
/
c80def.h
< prev
next >
Wrap
Text File
|
1980-01-01
|
896b
|
37 lines
/* c80def.h-standard definitions for C/80 from Software Toolworks */
#define TRUE 1
#define FALSE 0
#define ALLOC_ERR -1
#define BLANK ' '
#define EOS '\0'
#define ESCAPE '\\'
#define NEWLINE '\n'
#define NIL 0
#define NO 0
#define NULL '\0'
#define TAB '\t'
/* file-related definitions */
#define READ "r"
#define READ_BINARY "rb"
#define UPDATE "u"
#define UPDATE_BINARY "ub"
#define WRITE "w"
#define WRITE_BINARY "wb"
#define EOF -1
/* these are to make c80 compatible with newer versions of c */
#define FILE int
extern int fin,fout;
#define STDERR 0
#define STDIN fin
#define STDOUT fout
#define stderr 0
#define stdin fin
#define stdout fout
#define VOID int
#define void int